Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>CERN Program Library</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/CERN_Program_Library"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-CERN_Program_Library rootpage-CERN_Program_Library skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">CERN Program Library</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1295905060">
/* start https://en.wikipedia.org/ */


.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}


/* end https://en.wikipedia.org/ */
</style><table class="infobox vevent"><tbody><tr><th colspan="2" class="infobox-above summary">CERN Program Library</th></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Programmer" title="Programmer">Developer(s)</a></th><td class="infobox-data"><a href="CERN" title="CERN">CERN</a></td></tr><tr style="display: none;"><td colspan="2" class="infobox-full-data"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_release_life_cycle" title="Software release life cycle">Stable release</a></th><td class="infobox-data"><div style="margin:0px;">2023.08.14<span style="display:none">&nbsp;(<span class="bday dtstart published updated">2023.08.14</span>)</span>
/ August&nbsp;14, 2023<span style="display:none">&nbsp;(<span class="bday dtstart published updated">2023-08-14</span>)</span></div></td></tr><tr style="display:none"><td colspan="2">
</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Repository_(version_control)" title="Repository (version control)">Repository</a></th><td class="infobox-data"><style data-mw-deduplicate="TemplateStyles:r1126788409">
/* start https://en.wikipedia.org/ */


.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}


/* end https://en.wikipedia.org/ */
</style><div class="plainlist"><ul><li><span class="url"><a rel="nofollow" class="external text" href="https://cernlib.web.cern.ch/cernlib/">cernlib<wbr>.web<wbr>.cern<wbr>.ch<wbr>/cernlib<wbr>/</a></span> </li></ul>
</div></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Operating_system" title="Operating system">Operating system</a></th><td class="infobox-data"><a href="Cross-platform" class="mw-redirect" title="Cross-platform">Cross-platform</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_categories#Categorization_approaches" title="Software categories">Type</a></th><td class="infobox-data"><a href="List_of_numerical_analysis_software" class="mw-redirect" title="List of numerical analysis software">Technical computing</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_license" title="Software license">License</a></th><td class="infobox-data"><a href="GNU_General_Public_License" title="GNU General Public License">GNU General Public License</a>, except for <a href="GEANT_(program)" class="mw-redirect" title="GEANT (program)">GEANT</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Website</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="http://cern.ch/cernlib">cern<wbr>.ch<wbr>/cernlib</a></span></td></tr></tbody></table>
<style data-mw-deduplicate="TemplateStyles:r1266661725">
/* start https://en.wikipedia.org/ */


.mw-parser-output .portalbox{padding:0;margin:0.5em 0;display:table;box-sizing:border-box;max-width:175px;list-style:none}.mw-parser-output .portalborder{border:1px solid var(--border-color-base,#a2a9b1);padding:0.1em;background:var(--background-color-neutral-subtle,#f8f9fa)}.mw-parser-output .portalbox-entry{display:table-row;font-size:85%;line-height:110%;height:1.9em;font-style:italic;font-weight:bold}.mw-parser-output .portalbox-image{display:table-cell;padding:0.2em;vertical-align:middle;text-align:center}.mw-parser-output .portalbox-link{display:table-cell;padding:0.2em 0.2em 0.2em 0.3em;vertical-align:middle}@media(min-width:720px){.mw-parser-output .portalleft{margin:0.5em 1em 0.5em 0}.mw-parser-output .portalright{clear:right;float:right;margin:0.5em 0 0.5em 1em}}


/* end https://en.wikipedia.org/ */
</style>
<p>The <b>CERN Program Library</b> (<b>CERNLIB</b>) is a collection of general purpose software libraries and program modules for scientific computing, developed at the European Organization for Nuclear Research <a href="CERN" title="CERN">CERN</a>.<sup id="cite_ref-cern2014_1-0" class="reference"><a href="#cite_note-cern2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> The application area of the library focuses on physics research, in particular <a href="High_energy_physics" class="mw-redirect" title="High energy physics">high energy physics</a>, involving general mathematics, <a href="Data_analysis" title="Data analysis">data analysis</a>, detectors simulation, data-handling, <a href="Numerical_analysis" title="Numerical analysis">numerical analysis</a>, and others, applicable to a wide range of scientific problems. Many modules are written in the <a href="FORTRAN_77" class="mw-redirect" title="FORTRAN 77">FORTRAN 77</a> language.
</p><p>The major fields covered by the libraries contained therein were:
</p>
<ul><li><a href="Elementary_particle" title="Elementary particle">Elementary particle</a> data</li>
<li>Graphics and plotting</li>
<li>Histograming</li>
<li><a href="I/O" class="mw-redirect" title="I/O">I/O</a> and structured data storage</li>
<li>Numerical analysis</li>
<li><a href="Statistics" title="Statistics">Statistics</a> and data analysis</li>
<li>Detector simulation and <a href="Hadron" title="Hadron">Hadronic</a> <a href="Event_generator" title="Event generator">event generation</a></li></ul>
<p>Lower-level parts of the CERN Program Library were most prominently used by the data analysis software <a href="Physics_Analysis_Workstation" title="Physics Analysis Workstation">Physics Analysis Workstation</a> (PAW) and the detector simulation framework <a href="GEANT-3" title="GEANT-3">GEANT</a>, both of which are also part of the CERN Program Library.
</p><p>CERN Program Library used the year as its version, with not explicitly denoted minor revisions within a year. Besides legacy software dependency, for newer applications written in <a href="C%2B%2B" title="C++">C++</a>, CERNLIB is superseded by <a href="ROOT" title="ROOT">ROOT</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Status">Status</h2></div>
<p>Development and support for CERNLIB was discontinued in 2003.<sup id="cite_ref-cern2014_1-1" class="reference"><a href="#cite_note-cern2014-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> Libraries were still available "as is" "for ever" from <a rel="nofollow" class="external text" href="https://web.archive.org/web/20060520110912/http://cernlib.web.cern.ch/cernlib/version.html">the CERNLIB web site</a> but with no new code, no user support and no port to <a href="IA-64" title="IA-64">IA-64</a>.
</p><p>The code was revitalized in 2022,<sup id="cite_ref-CERNLIB_status_2-0" class="reference"><a href="#cite_note-CERNLIB_status-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> multiple patches were added and as of 2023 the code can be compiled on multiple architectures either with its native build system <a href="Imake" title="Imake">imake</a> or with the <a href="CMake" title="CMake">CMake</a>.
The revitalized version is based on the CERNLIB release 2006.
</p>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */


.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}


/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-cern2014-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-cern2014_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-cern2014_1-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */


.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}


/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://cernlib.web.cern.ch/cernlib/">"Cern Program Library"</a>. European Organization for Nuclear Research. 2014-10-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2023-02-22</span></span>.</cite></span>
</li>
<li id="cite_note-CERNLIB_status-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-CERNLIB_status_2-0">^</a></b></span> <span class="reference-text"><cite id="CITEREFSchwickerathVerbytskyi2023" class="citation arxiv cs1">Schwickerath, Ulrich; Verbytskyi, Andrii (2023). "CERNLIB status". <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/2303.07506">2303.07506</a></span> [<a rel="nofollow" class="external text" href="https://arxiv.org/archive/physics.comp-ph">physics.comp-ph</a>].</cite></span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><span class="official-website"><span class="url"><a rel="nofollow" class="external text" href="http://cern.ch/cernlib">Official website</a></span></span>, CERN Program Library</li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2024-09-20" href="https://en.wikipedia.org/wiki/?title=CERN_Program_Library&amp;oldid=1246666240">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>

</body></html>